package com.ctshk.rpc.visa.req.visa;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 加幅设置
 * </p>
 *
 * @author 陈雷
 * @since 2021-2-3
 */
@Data
@ApiModel(value="VisaProductSaveReq对象", description="加幅设置")
public class VisaProductSaveReq implements Serializable {
    @NotNull(message = "所属签证资源")
    @ApiModelProperty(value = "visaId")
    private List<String> visaId;

    @NotNull(message = "加幅类型")
    @ApiModelProperty(value = "adjustType")
    private int adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private double percent;

    @ApiModelProperty(value = "签证产品编号")
    private String productNum;
}